﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using DTO;

namespace BLL
{
    public class HocSinh_BLL
    {
        private HocSinh_DAL data = new HocSinh_DAL();
        public void ThemHocSinh(HocSinh_DTO hs)
        {
            data.ThemHocSinh(hs);
        }
        public List<HocSinh_DTO> DS_HocSinh()
        {
            return data.DS_HocSinh();
        }
        public List<HocSinh_DTO> DS_HocSinhTheoMa(string MaHS)
        {
            return data.DS_HocSinhTheoMa(MaHS);
        }
        public List<HocSinh_DTO> DS_HocSinhTheoTen(string TenHS)
        {
            return data.DS_HocSinhTheoTen(TenHS);
        }

        public List<HocSinh_DTO> DS_HocSinhTheoLop(string Malop)
        {
            return data.DS_HocSinhTheoLop(Malop);
        }
        public void Xoa(HocSinh_DTO hs)
        {
            data.Xoa(hs);
        }
    }
}
